import 'package:fluro/fluro.dart';
import 'package:ls_work/a_yyt/page/group_visit_home.dart';
import 'package:ls_work/a_yyt/page/home_sporadic_ncome_page.dart';
import 'package:ls_work/a_yyt/page/human_visit_home.dart';
import 'package:ls_work/a_yyt/page/medical_package_page.dart';
import 'package:ls_work/a_yyt/page/policy_remine_page.dart';
import 'package:ls_work/routers/router_init.dart';
import 'page/home_page.dart';
import 'page/home_handover_page.dart';
import 'page/home_pending_page.dart';
import 'page/home_old_life_page.dart';
import 'page/home_life_edit_page.dart';
import 'page/home_address_book_page.dart';
import 'page/home_gean_huiban_page.dart';
import 'page/home_care_report_page.dart';

class HomeRouter implements IRouterProvider {
  static String homePage = "/home";
  static String homeHandoverPage = "/home/home_andover_page";
  static String homePendingPage = "/home/home_pending_page";
  static String homeOldLifePage = "/shop/old_life_page";
  static String homeLifeeditPage = "/home/life_edit_page";
  static String homeAddressBookPage = "/home/address_book_page";
  static String homeGeAnHuiBanPage = "/home/gean_huiban_page";
  static String homeCareReportPage = "/home/care_report_page";
  static String homeSporadicIncomePage = "/home/home_sporadic_ncome_page";
  static String humanVisitPage = "/home/human_visit_page";
  static String groupVisitPage = "/home/group_visit_page";
  static String medicalPackagePage = "/home/medical_package_Page";
  static String medicalPolicyPage = "/home/medical_Policy_Page";

  @override
  void initRouter(FluroRouter router) {
    router.define(homePage,
        handler: Handler(handlerFunc: (_, params) => HomePage()));
    router.define(homeHandoverPage,
        handler: Handler(handlerFunc: (_, params) => HomeHandoverPage()));
    router.define(homePendingPage,
        handler: Handler(handlerFunc: (_, params) => HomePendingPage()));
    router.define(homeOldLifePage,
        handler: Handler(handlerFunc: (_, params) => HomeOldLifePage()));
    router.define(homeLifeeditPage,
        handler: Handler(handlerFunc: (_, params) => HomeLifeEditPage()));
    router.define(homeAddressBookPage,
        handler: Handler(handlerFunc: (_, params) => HomeAddressBookPage()));
    router.define(homeGeAnHuiBanPage,
        handler: Handler(handlerFunc: (_, params) => HomeGeAnHuiBanPage()));
    router.define(homeCareReportPage,
        handler: Handler(handlerFunc: (_, params) => HomeCareReportPage()));
    router.define(homeSporadicIncomePage,
        handler: Handler(handlerFunc: (_, params) => HomeSporadicIncomePage()));
    router.define(humanVisitPage,
        handler: Handler(handlerFunc: (_, params) => HumanVisitHomePage()));
    router.define(groupVisitPage,
        handler: Handler(handlerFunc: (_, params) => GroupVisitHomePage()));
    router.define(medicalPackagePage,
        handler: Handler(handlerFunc: (_, params) => MedicalPackagePage()));
    router.define(medicalPolicyPage,
        handler: Handler(handlerFunc: (_, params) => PolicyReminePage()));
  }
}
